package com.zkthink.ceres.store.dao;



import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.store.dto.StoreWithdrawHisPageDTO;
import com.zkthink.ceres.store.entity.StoreWithdrawHis;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * 店铺提现历史
 * </p>
 *
 * @author chenke
 * @date 2022-04-29
 */
@Repository
public interface StoreWithdrawHisMapper extends SuperMapper<StoreWithdrawHis> {

    IPage<StoreWithdrawHis> findXsyWithdrawHis(IPage page,@Param("dto") StoreWithdrawHisPageDTO model);
    @Update("update chl_order set order_status = #{status} where id = #{id}")
    int UpdateChlOederOrderStatus(@Param("status") Integer status,@Param("id") Long id);
}
